import request from '@/utils/request'

// 查询题库选择题问题列表
export function listQbmsQuestionChoiceIssue(query) {
  return request({
    url: '/qbms/qbmsQuestionChoiceIssue/list',
    method: 'get',
    params: query
  })
}

// 查询题库选择题问题详细
export function getQbmsQuestionChoiceIssue(id) {
  return request({
    url: '/qbms/qbmsQuestionChoiceIssue/' + id,
    method: 'get'
  })
}

// 新增题库选择题问题
export function addQbmsQuestionChoiceIssue(data) {
  return request({
    url: '/qbms/qbmsQuestionChoiceIssue',
    method: 'post',
    data: data
  })
}

// 修改题库选择题问题
export function updateQbmsQuestionChoiceIssue(data) {
  return request({
    url: '/qbms/qbmsQuestionChoiceIssue',
    method: 'put',
    data: data
  })
}

// 删除题库选择题问题
export function delQbmsQuestionChoiceIssue(id) {
  return request({
    url: '/qbms/qbmsQuestionChoiceIssue/' + id,
    method: 'delete'
  })
}
